<?php
$this->pageTitle='Авторизация';
$this->breadcrumbs=array(
	'Авторизация',
);
?>
	<h1>Авторизация</h1>


<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'login-form',
	'enableAjaxValidation'=>true,
)); ?>
<div class="u_cat also">
	<table class="flds_form">
		<tbody>
			<tr>
				<td class="flds_form_l">
					<?php echo $form->labelEx($model,'email'); ?>
				</td>
				<td class="flds_form_r">
					<div class="flds_border">
						<div class="flds_border_inside">
							<?php echo $form->textField($model,'email', array('class'=>'settings_fld')); ?>
						</div>
						<?php echo $form->error($model,'email'); ?>
					</div>
				</td>
			</tr>
			<tr>
				<td class="flds_form_l">
					<?php echo $form->labelEx($model,'password'); ?>
				</td>
				<td class="flds_form_r">
					<div class="flds_border">
						<div class="flds_border_inside">
							<?php echo $form->passwordField($model,'password', array('class'=>'settings_fld')); ?>
						</div>
						<?php echo $form->error($model,'password'); ?>
					</div>
				</td>
			</tr>
		</tbody>
	</table>
<div class="checkbox_row fll">
	<div class="checkbox_block">
		<div></div>
		<?php echo $form->checkBox($model,'rememberMe'); ?>
		<?php echo $form->label($model,'rememberMe'); ?>
		<?php echo $form->error($model,'rememberMe'); ?>
	</div>
</div>
</div>
<div class="row submit">
	<?php echo CHtml::submitButton('Войти', array('class'=>'green_btn tac')); ?>
	<p><span>или</span>	<a href="<?php echo Yii::app()->createUrl('site/forgot');?>">Востановить пароль</a></p>
</div>
<?php $this->endWidget(); ?>